package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName StudentExamRankEntity
 * @Description
 * @Author luoxingjiang
 * @Date 2019/8/14 0014 下午 7:46
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class StudentExamRankEntity {

    private Integer id;

    private Integer studentId;

    private Integer examId;

    private Integer classRank;

    private Integer gradeRank;

    private Double totalScore;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Double scienceOrArtsTotal;

    private Integer scienceOrArtsClassRank;

    private Integer scienceOrArtsGradeRank;

    private Integer examRankId;


}
